<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/jquery-1.12.4.js"></script>
</head>
<body>
<h2>爱好：</h2>
全选：<input type="checkbox" name="checkAll" id="checkAll"/><br/>
<input type="checkbox" name="hobby" class="hobby" value="sing"/>唱<br/>
<input type="checkbox" name="hobby" class="hobby" value="jump"/>跳<br/>
<input type="checkbox" name="hobby" class="hobby" value="rap"/>rap<br/>
<input type="checkbox" name="hobby" class="hobby" value="ball"/>篮球<br/>
<input type="checkbox" name="hobby" class="hobby" value="drink"/>喝<br/>
<input type="checkbox" name="hobby" class="hobby" value="smoke"/>smoke<br/>

</body>
</html>